﻿namespace CoreEx.Common.Logging
{
    /// <summary>
    /// Represents a class that is capable of creating an <see cref="ILogger"/> instance.
    /// </summary>
    public interface ILoggerFactory
    {
        /// <summary>
        /// Returns an <see cref="ILogger"/> instance
        /// </summary>
        /// <param name="name">The name of the <see cref="ILogger"/> to return.</param>
        /// <returns><see cref="ILogger"/></returns>
        ILogger GetLogger(string name);
    }
}
